<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <title>uitags</title>
    <t:base type="jquery,easyui,tools,autocomplete"></t:base>
    <SCRIPT type="text/javascript">
        function parse(data){
            var parsed = [];
            $.each(data.rows,function(index,row){
                parsed.push({data:row,result:row,value:row.id});
            });
            return parsed;
        }
        /**
         * 选择后回调
         *
         * @param {Object} data
         */
        function callBack(data) {
            $("#user").val(data.userName);
        }

        /**
         * 每一个选择项显示的信息
         *
         * @param {Object} data
         */
        function formatItem(data) {
            return data.userName + "-->" + " " + data.realName;
        }

        function setContentc(){
            /*  alert("表单提交前想干点啥呢");*/
        }
        function test(){
            /* alert("表单提交后要干点啥呢");*/
        }

    </SCRIPT>
</head>
<body>
<t:formvalid formid="formobj" dialog="true" layout="div" callback="test" action="scrwglController.do?doedit" beforeSubmit="setContentc">
    <input id="pk_node" name="pk_node" type="hidden" value="${t1.pk_node }"/>
    <fieldset class="step">
        <div class="form">
            <label class="Validform_label">编号： </label>
            <input type="text" name="fd_fwno" id="fd_fwno" value="${t1.fd_fwno }">
            <span class="Validform_checktip"></span>
		
        </div>
		 <div class="form">
            <label class="Validform_label"> 矿名称： </label>
            <t:dictSelect field="fd_name" typeGroupCode="mineType" title="矿名称" defaultVal="${t1.fd_name}" datatype="*"></t:dictSelect>
			<span class="Validform_checktip"></span>           
        </div>
		<div class="form">
            <label class="Validform_label">系统名称： </label>          
            <t:dictSelect field="fd_type" typeGroupCode="type" title="系统名称" defaultVal="${t1.fd_type}" datatype="*"></t:dictSelect>
			<span class="Validform_checktip"></span>  
        </div>
		 <div class="form">
            <label class="Validform_label"> 服务器ip： </label>
            <input type="text" name="fd_addr" id="fd_addr" value="${t1.fd_addr }">
            <span class="Validform_checktip"></span>
        </div>
       
         <div class="form">
            <label class="Validform_label"> 用户名： </label>
            <input type="text" name="fd_username" id="fd_username" value="${t1.fd_username }"  >
            <span class="Validform_checktip"></span>
        </div>
        <div class="form">
            <label class="Validform_label"> 密码： </label>
            <input type="text" name="fd_password" id="fd_password" value="${t1.fd_password }" >
            <span class="Validform_checktip"></span>
        </div>  
       
		<div class="form">
            <label class="Validform_label"> 共享文件夹路径： </label>
            <input type="text" name="fd_dir" id="fd_addr" value="${t1.fd_dir }" >
            <span class="Validform_checktip"></span>
        </div>
        

        <div class="form">
            <label class="Validform_label"> 备注： </label>
            <input type="text" name="fd_bz" id="fd_bz" value="${t1.fd_bz }" style="width: 300px">
            <span class="Validform_checktip"></span>
        </div>


    </fieldset>
</t:formvalid>
</body>
</html>
<t:authFilter />






